package org.example.trader.http.api;

import org.example.trader.data.form.TraderInfoForm;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/manage")
public class TraderManageController {

    @RequestMapping("/add")
    public void addTrader(
            @RequestBody @Validated TraderInfoForm traderInfoForm){

    }

    @RequestMapping("/update")
    public void updateTrader(TraderInfoForm traderInfoForm){

    }

}
